a = [11, 22, 33]
b = [11, 22, 33]
c = a

print(id(a))
print(id(b))
print(id(c)) # a c id相同

# is 是⽐较两个引⽤是否指向了同⼀个对象（引⽤⽐较）。
# == 是⽐较两个对象是否相等。
print("a == b ", a == b) # True
print("a is b ", a is b) # False
print("a == c ", a == c) # True
print("a is b ", a is b) # False
print("a is c ", a is c) # True

print("--------")

a = 100
b = 100
print("a == b ", a == b) # True
print("a is b ", a is b) # True


a = 1000000
b = 1000000
print("a == b ", a == b) # True
print(a is b) # True  不是所说的 False